Skip to content

fix: move BMB announcement to custom Banner component#23

Merged
bmadcode merged 1 commit intomainfrom
fix-bmb-banner
Apr 4, 2026
Merged

fix: move BMB announcement to custom Banner component#23
bmadcode merged 1 commit intomainfrom
fix-bmb-banner

Conversation

@bmadcode
Copy link
Copy Markdown
Contributor

@bmadcode bmadcode commented Apr 4, 2026

Summary

  • Moved BMB announcement into Banner.astro as a second row (Starlight banner config doesn't render with custom Header)
  • Removed unused Starlight banner config from astro.config.mjs

Test plan

  • Verify both banners render on the docs site

Starlight banner config doesn't render with custom Header. Added
announcement row to Banner.astro and removed unused config.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 4, 2026

Warning

Rate limit exceeded

@bmadcode has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 21 minutes and 27 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 21 minutes and 27 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 352efe8d-e78e-4ada-892a-0518c229487d

📥 Commits

Reviewing files that changed from the base of the PR and between d9ce41a and e6c9bad.

📒 Files selected for processing (2)
  • website/astro.config.mjs
  • website/src/components/Banner.astro
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-bmb-banner

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@bmadcode bmadcode merged commit fd48f0c into main Apr 4, 2026
20 checks passed
@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented Apr 6, 2026

🤖 Augment PR Summary

Summary: Moves the community announcement from Starlight’s banner config into the custom Banner.astro so it renders with the overridden Header.
Changes: Removes the unused Starlight banner config and adds a second, styled announcement banner row alongside the existing AI docs banner.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

<div class="ai-banner">
<span>🤖 AI-optimized docs: <a href={llmsFullUrl}>llms-full.txt</a></span>
</div>
<div class="announce-banner">
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

custom.css sets --sl-nav-height and the inner header height assuming a single --ai-banner-height banner row; adding a second banner here may cause the header/content to overlap or be clipped. Consider verifying/adjusting the nav height math so the layout accounts for both banner rows.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

.ai-banner span {
.ai-banner span,
.announce-banner span {
white-space: nowrap;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applying white-space: nowrap + overflow: hidden + ellipsis to .announce-banner span will likely truncate the long announcement on narrow viewports, potentially hiding the CTA links (making them unreachable). Consider ensuring the important links remain visible/clickable on mobile.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant